﻿#ifndef POSTCOMMAND_CMDTHREEDSURFACEPLOTSIDEBARFREQUENCYCHANGED_H
#define POSTCOMMAND_CMDTHREEDSURFACEPLOTSIDEBARFREQUENCYCHANGED_H

#include "CommandManager/CommandBase.h"

namespace PostCommand
{
    /// @brief 后处理保存图像命令
    class CmdThreeDSurfacePlotSidebarFrequencyChanged : public CommandManager::CommandBase
    {
        Q_OBJECT

    public:
        CmdThreeDSurfacePlotSidebarFrequencyChanged();
        ~CmdThreeDSurfacePlotSidebarFrequencyChanged();

        bool execute() override;
        void undo() override;
        void redo() override;

        void setThreeDSurfacePlotSidebarFrequencyChanged(int windowId, int frequencyId);

    private:
        int m_windowId;
        int m_frequencyId;
    };
} // namespace PostCommand

#endif
